% Description : Master file of notes building with LaTex Traditional.
% -*- coding:utf-8 -*-
% Author : Wang Jianzhao
% Date : 2020-02-19
% ==================================================================================================================

\documentclass[11pt, a4paper]{article}

% Page Setup
	\usepackage{geometry}
	\geometry{left=3.17cm,right=3.17cm,top=2.54cm,bottom=2.54cm}
	% \setlength{\parindent}{0pt} % Set no indent this article.
	\usepackage{indentfirst}    % Set first paragraph indent.
	% \setlength{\parskip}{1em}   % Set paragraph space of title.
	% \setlength{\lineskip}{2em}  % Set line space of title.

% Header and Footer
	\usepackage{fancyhdr}
	\pagestyle{fancy}
	\lhead{Author}
	\chead{Input your title here.}
	\rhead{\thepage}
	\cfoot{}

% Packages may be used
	\usepackage{xcolor}
	\usepackage{enumerate}
	\usepackage{amssymb}
	\usepackage{setspace}
	\usepackage{graphicx}
	\usepackage{caption}
	\usepackage{subfig}
	\usepackage[colorlinks,linkcolor=black,anchorcolor=blue,citecolor=blue,CJKbookmarks=True]{hyperref}
	\usepackage{amsmath}
	\numberwithin{equation}{section} % Set equations number style.
	\allowdisplaybreaks[4] % Force multi-line equations to spilt when span two pages.

\newcommand{\tcr}{\textcolor{blue}}
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\tcr{\cite{#1}}}}}

\title{{\Huge Input your title here}}
\author{Your name}

\begin{document}
\maketitle

\tableofcontents % make contents
\newpage

% \begin{center}
% \section{Section 1}
% \end{center}
% \vspace{3ex}

% \begin{spacing}{2.0} % Set line space from here to '\end{spacing}'

\section{Section One}

	\begin{enumerate}
	% \begin{enumerate}[(1)]
	\item Text\upcite{ref1}.

	\item Text\cite{ref1,ref2}.

	\item Text.
	\end{enumerate}

\section{Section Two}

	\textcolor{red}{Text.}

	\subsection{Paragraph One}

		Figures.

		\begin{figure}[h]
			\centering
			\label{fig1}
			\includegraphics[width=4cm,height=5cm]{2-1.png}
			\caption{This is Figure 1.}
		\end{figure}

		\begin{figure}[ht]
			\centering
			\subfloat[Figure 2(a)]{\label{fig2a}
			\includegraphics[width=4cm,height=5cm]{2-1.png}}
			\quad
			\subfloat[Figure 2(b)]{\label{fig2b}
			\includegraphics[width=4cm,height=5cm]{2-1.png}} \\
			\caption{This is Figure 2.}
		\end{figure}

	\subsection{Paragraph Two}

		Equations.

		\begin{equation}
			\mathbf{E}=\sum_{l=0}^{\infty} \sum_{m=-l}^{l}\left(E_{l m}^{r}(r) \mathbf{Y}_{l m}+E_{l m}^{(1)}(r) \mathbf{\Psi}_{l m}+E_{l m}^{(2)}(r) \mathbf{\Phi}_{l m}\right)
		\end{equation}

		\begin{align}
			\mathbf{Y}_{l m}    & =Y_{l m}(\phi,\theta)\  \hat{\mathbf{e}}_r \\
			\notag
		    \mathbf{\Psi}_{l m} & =r \nabla Y_{l m}=\frac{1}{\sin \theta} \frac{\partial Y_{lm}}{\partial \phi}\hat{\mathbf{e}_{\phi}} + \frac{\partial Y_{lm}}{\partial \theta}\hat{\mathbf{e}_{\theta}} \\
		    \mathbf{\Phi}_{l m} & =\overrightarrow{\mathbf{r}} \times \nabla Y_{l m}=\frac{\partial Y_{lm}}{\partial \theta}\hat{\mathbf{e}_{\phi}} -\frac{1}{\sin \theta} \frac{\partial Y_{lm}}{\partial \phi}\hat{\mathbf{e}_{\theta}}
		\end{align}

	\subsection{Paragraph Three}

		Tables.

		\begin{table}[h]
			\renewcommand\arraystretch{2}
			\centering
			\caption{This is table 1.}
			\begin{tabular}{|c|c|c|c|}
				\hline \        & X & Y             & Z             \\
				\hline particle & 2 & $\frac{3}{4}$ & $\frac{1}{2}$ \\
				\hline ion      & 1 & $\frac{1}{4}$ & 0             \\
				\hline electron & 1 & $\frac{2}{4}$ & $\frac{1}{2}$ \\
				\hline
			\end{tabular}
		\end{table}

% \section{Section Three}

% Reference.

	\begin{thebibliography}{99} 
	\addcontentsline{toc}{section}{References} 
		\bibitem{ref1}Zheng L, Wang S, Tian L, et al., ApJ, 2015: 1741-1750.  
		\bibitem{ref2}Arandjelov R, Zisserman A, IEEE, 2012: 2911-2918.  
	\end{thebibliography}

% \end{spacing}

\end{document}
